<script id="current_date_order_list_tpl" type="text/html">

    {{# if(d.orderList == null  || d.orderList.length == 0){ }}
    <div class="nomore_tips"><p>没有更多订单了。。。</p></div>
    {{# } }}

    {{# if(d.orderList.length > 0){ }}
    {{# for(var i = 0 ; i < d.orderList.length ; i++){ }}
    <div class="card0 m5">
        <div class="card-header">
            <ul>
                <li><span>商家：</span>
                    <p style="color: #198bec;">{{d.orderList[i].user_name}}</p></li>
                <li><span>地址：</span>
                    <p>{{d.orderList[i].confirm_address}}</p></li>
                <li><span>订单：</span>
                    <p>{{d.orderList[i].order_no}}</p></li>
                <li><span>日期：</span>
                    <p>{{d.orderList[i].order_at}}</p></li>
            </ul>
        </div>
        <div class="card-content">
            {{# if(d.orderList[i].orderItem != null && d.orderList[i].orderItem.length > 0){ }}
            <ul>
                {{# for(var j = 0 ; j < d.orderList[i].orderItem.length ; j++){ }}
                <li>
                    <div class="cr">
                        <p><span>提成比例：{{d.orderList[i].orderItem[j].poportions}}%</span></p>
                        <p><span>提成金额：<em>￥{{d.orderList[i].orderItem[j].poportions_amount}}</em></p>
                    </div>
                    <a href="#"><img src="{{d.orderList[i].orderItem[j].pro_image}}"></a>
                    <h3>{{d.orderList[i].orderItem[j].goods_name}}</h3>
                    <p><span>{{d.orderList[i].orderItem[j].goods_spec}}/{{d.orderList[i].orderItem[j].goods_unit}}X{{d.orderList[i].orderItem[j].buy_number}}</span><em>￥{{d.orderList[i].orderItem[j].goods_amount}}</em></p>
                </li>
                {{# } }}
            </ul>
            {{# } }}
        </div>
        <div class="card-footer">
            <div class="pull-left"><p>总价：<i>￥{{d.orderList[i].amount}}</i></p></div>
            <div class="pull-right">
                <p>提成合计：<i>￥{{d.orderList[i].poportions_amount}}</i></p>
            </div>
        </div>
    </div>

    {{# } }}
    {{# } }}

</script>